<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="java.util.Enumeration"%>
<html>
<head>
<title>RESTful API</title>
<style type="text/css">
* {
	font-family: Trebuchet MS;
}
</style>
</head>
<body>
	<h1>Request Headers</h1>
	<ul>
		<%
Enumeration<String> names = request.getHeaderNames();
while (names.hasMoreElements()) {
	String name = names.nextElement();
	out.println("<li>" + name + " => " + request.getHeader(name) + "</li>");
}
%>
	</ul>
</body>
</html>